package domain;

public class Movie {
	private MovieDescription movieDescription;

	public Movie(MovieDescription movieDescription) {
		this.movieDescription = movieDescription;
	}

	public MovieDescription getMovieDescription() {
		return movieDescription;
	}

	public void setMovieDescription(MovieDescription movieDescription)
			throws Exception {
		if (movieDescription == null) {
			throw (new Exception("Null Object: Cannot set MovieDescryption"));
		} else {
			this.movieDescription = movieDescription;
		}
	}

}
